<%@ include file="/WEB-INF/jspf/include.jspf" %>
<%@ attribute name="key" required="true" %>
<%@ attribute name="location" required="false" %>
<%@ attribute name="onclick" required="false" %>
<%@ attribute name="id" required="false" %>
<%@ attribute name="disabled" required="false" %>

<c:url value="${location}" var="loc"/>
<c:set var="script" value="window.location='${loc}';"/>
<c:if test="${onclick ne null}">
    <c:set var="script" value="${onclick}"/>
</c:if>
<input
        <c:if test="${id ne null}">id="${id}"</c:if> type="button"
        value="<fmt:message key="${key}"/>" style="width:125px"
        <c:if test="${disabled}">disabled="disabled"</c:if> onclick="${script}"/>
